# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=py3-nats
_pkgname=nats-py
pkgver=2.1.4
pkgrel=0
pkgdesc="Python3 client for NATS"
url="https://github.com/nats-io/nats.py"
arch="noarch"
license="Apache-2.0"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/n/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
0ac1b2e5bc3c0bb4911c881d0ad2c21c43a15b74c00155c9cdc7c5a89d8b2391a27d3021c056fb92922136b0bf53b43afb3bc17d300dd18f630e189058db3f94  nats-py-2.1.4.tar.gz
"
